package crm.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * SysUs entity. @author MyEclipse Persistence Tools
 */

public class SysUs implements java.io.Serializable {

	// Fields

	private BigDecimal usrId;
	private SysRole sysRole;
	private String usrBh;
	private String usrName;
	private String usrPassword;
	private BigDecimal usrTel;
	private Timestamp usrDate;
	private String usrLogin;
	private BigDecimal usrFlag;
	private Set sysGgs = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysUs() {
	}

	/** minimal constructor */
	public SysUs(String usrName, String usrPassword, BigDecimal usrTel,
			Timestamp usrDate, String usrLogin, BigDecimal usrFlag) {
		this.usrName = usrName;
		this.usrPassword = usrPassword;
		this.usrTel = usrTel;
		this.usrDate = usrDate;
		this.usrLogin = usrLogin;
		this.usrFlag = usrFlag;
	}

	/** full constructor */
	public SysUs(SysRole sysRole, String usrBh, String usrName,
			String usrPassword, BigDecimal usrTel, Timestamp usrDate,
			String usrLogin, BigDecimal usrFlag, Set sysGgs) {
		this.sysRole = sysRole;
		this.usrBh = usrBh;
		this.usrName = usrName;
		this.usrPassword = usrPassword;
		this.usrTel = usrTel;
		this.usrDate = usrDate;
		this.usrLogin = usrLogin;
		this.usrFlag = usrFlag;
		this.sysGgs = sysGgs;
	}

	// Property accessors

	public BigDecimal getUsrId() {
		return this.usrId;
	}

	public void setUsrId(BigDecimal usrId) {
		this.usrId = usrId;
	}

	public SysRole getSysRole() {
		return this.sysRole;
	}

	public void setSysRole(SysRole sysRole) {
		this.sysRole = sysRole;
	}

	public String getUsrBh() {
		return this.usrBh;
	}

	public void setUsrBh(String usrBh) {
		this.usrBh = usrBh;
	}

	public String getUsrName() {
		return this.usrName;
	}

	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}

	public String getUsrPassword() {
		return this.usrPassword;
	}

	public void setUsrPassword(String usrPassword) {
		this.usrPassword = usrPassword;
	}

	public BigDecimal getUsrTel() {
		return this.usrTel;
	}

	public void setUsrTel(BigDecimal usrTel) {
		this.usrTel = usrTel;
	}

	public Timestamp getUsrDate() {
		return this.usrDate;
	}

	public void setUsrDate(Timestamp usrDate) {
		this.usrDate = usrDate;
	}

	public String getUsrLogin() {
		return this.usrLogin;
	}

	public void setUsrLogin(String usrLogin) {
		this.usrLogin = usrLogin;
	}

	public BigDecimal getUsrFlag() {
		return this.usrFlag;
	}

	public void setUsrFlag(BigDecimal usrFlag) {
		this.usrFlag = usrFlag;
	}

	public Set getSysGgs() {
		return this.sysGgs;
	}

	public void setSysGgs(Set sysGgs) {
		this.sysGgs = sysGgs;
	}

}